<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    
    <link rel="stylesheet" href="tab.css" />
    <script src="../../lib/js/jquery.js"></script>
    <script src="tab.js"></script>


    <style>
        
        html, body, #root{
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;

        }

    </style>

    <script>
        $(function(){
            // alert("ready");

            var tab = new $.Tab($("#root"));

            tab.add("html","tabone","tab 1","Hello World");
            tab.add("html","tabTwo","tab 2","Hello World 2");
            tab.add("iframe","tabThree","iframe","index.html");


        });
    </script>

</head>
<body>

    <div id="root"></div>
    
</body>
</html>